The FormulaFieldDefinition Object provides properties and methods for retrieving information and setting options for any named formula field in a report.
Property | Description | Read/ Write | Restriction in event handler |
---|---|---|---|
String. Gets the formula field name as it appears in the RDC Dataview Panel. | |||
CRFieldKind. Gets what kind of field (for example, database, summary, formula, etc.). | |||
String. Gets the unique name of the formula field in Crystal formula format as it would be referenced in the report (for example, {@ExampleFormula}). | |||
Can be read only when top | |||
Integer. Gets the number of bytes required to store the field data in memory. | |||
Report Object. Gets reference to the parent object. | |||
Can be read only when top | |||
String. Gets or sets the text of the formula. The formula text is changed immediately in the report. If you generate a report with an invalid formula, you may receive an exception error. Syntax can be Crystal Refort or Visual Basic. See Remarks below. | |||
Can be read only when top | |||
CRFieldValueType. Gets which type of value is found in the field. |
Crystal Reports 8.0 supports formulas in Crystal Reports syntax and Visual Basic syntax. When setting text to a formula, the syntax is determined by the FormulaSyntax property of the parent Report Object. The default syntax is Crystal Report syntax (crCrystalSyntaxFormula).
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |